package file

import "blog/app/model"

type Config struct {
	ID      int    `gorm:"primaryKey;autoIncrement"`
	Title   string `gorm:"column:title"`
	Type    int    `gorm:"column:type"`
	Name    string `gorm:"column:name"`
	Bucket  string `gorm:"column:bucket"`
	Domain  string `gorm:"column:domain"`
	Ak      string `gorm:"column:ak"`
	As      string `gorm:"column:as"`
	IsHttps uint   `gorm:"column:is_https"`
	model.SoftModel
}

func (config *Config) TableName() string {
	return "p_file_config"
}
